//引入mock模块
import Mock from "mockjs"

// 演示，用mock的时候删掉
let  wr  = Mock.mock({
    "newList|6": [{
        'number|1-10000': 10
    }]
})


Mock.mock("/add/news", "post", () => {
    return {
        status: 200,
        message: "请求成功",
        list: wr,
        total: wr.length
    }
})






